package FanShe4;

public class Person {
    private String name;
    private int age;

    public Person(String name) {
        this.name = name;
    }

    public Person(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Person() {
    }

    public void sayHello() {
        System.out.println("Hello my name is " + name + ",and I am " + age + " years old");
    }

}
